import { Ref, ref, reactive, watch } from "vue";
export default function ({ value }: { value: Ref<number> }) {
  let testHook = ref(1000);
  let testReactiveHook = reactive({
    name: "234567i",
  });
  watch(value, () => {
    testHook.value = testHook.value + value.value;
    testReactiveHook.name = "343453453453434";
  });
  return {
    testHook,
    testReactiveHook,
  };
}
